package com.jobguard.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jobguard.entity.dto.AccountDTO;
import com.jobguard.entity.vo.request.ConfirmResetVO;
import com.jobguard.entity.vo.request.EmailRegisterVO;
import com.jobguard.entity.vo.request.EmailResetVO;
import org.springframework.security.core.userdetails.UserDetailsService;

/**
 * function:
 * author: xxxxsl
 * date: 2024/12/4 10:25
 */

public interface AccountService extends IService<AccountDTO>, UserDetailsService {
    AccountDTO findAccountByNameOrEmail(String text);
    String registerEmailVerifyCode(String type, String email, String ip);
    String registerEmailAccount(EmailRegisterVO info);
    String resetEmailAccountPassword(EmailResetVO info);
    String resetConfirm(ConfirmResetVO info);
}

